-- GENERATED SPELL FOR [Horde Conscript] --


function spell0_27749(pUnit, Event) --@Heroic Strike,n/a--
pUnit:FullCastSpellOnTarget(29426,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_27749', 646, 1)
end

function spell1_27749(pUnit, Event) --@Shoot,n/a--
pUnit:FullCastSpellOnTarget(15620,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_27749', 586, 1)
end

function Sorts_27749(pUnit, Event)
local choix_sorts_27749 = math.random(0, 1)
if choix_sorts_27749 == 0 then
pUnit:RegisterEvent('spell0_27749', 1, 1)
end
if choix_sorts_27749 == 1 then
pUnit:RegisterEvent('spell1_27749', 1, 1)
end
end

function mob27749_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_27749', math.random(1500, 3000), 1)
end

function mob27749_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob27749_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob27749_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(27749, 1, 'mob27749_Action')
RegisterUnitEvent(27749, 2, 'mob27749_Leave')
RegisterUnitEvent(27749, 3, 'mob27749_Kill')
RegisterUnitEvent(27749, 4, 'mob27749_Die')
